﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h1>Globalization and Localization demo</h1>
        <p>
            &nbsp;<asp:Button ID="btnEnglish" runat="server" Text="English" meta:resourcekey="btnEnglishResource1" OnClick="btnEnglish_Click" />
            <asp:Button ID="btnVietnamese" runat="server" Text="Vietnamese" meta:resourcekey="btnVietnameseResource1" OnClick="btnVietnamese_Click" /></p>
        <p>
            <table>
                <tr>
                    <td style="width: 100px">
                        <asp:Label ID="lblUserName" runat="server" Text="User Name:" meta:resourcekey="lblUserNameResource1"></asp:Label></td>
                    <td style="width: 100px">
                        <asp:TextBox ID="txtUserName" runat="server" meta:resourcekey="txtUserNameResource1" ValidationGroup="A"></asp:TextBox></td>
                    <td style="width: 100px">
                        <asp:RequiredFieldValidator ID="reqUserName" runat="server" ControlToValidate="txtUserName"
                            ErrorMessage="Enter UserName Please!" meta:resourcekey="reqUserNameResource1" ValidationGroup="A"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 100px">
                        <asp:Label ID="lblPassword" runat="server" Text="Password:" meta:resourcekey="lblPasswordResource1"></asp:Label></td>
                    <td style="width: 100px">
                        <asp:TextBox ID="txtPassword" runat="server" meta:resourcekey="txtPasswordResource1" ValidationGroup="A"></asp:TextBox></td>
                    <td style="width: 100px">
                        <asp:RequiredFieldValidator ID="reqPass" runat="server" ControlToValidate="txtPassword"
                            ErrorMessage="Enter pasword please!" meta:resourcekey="reqPassResource1" ValidationGroup="A"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Button ID="btnLogin" runat="server" Text="Login" meta:resourcekey="btnLoginResource1" ValidationGroup="A" /></td>
                </tr>
            </table>
        </p>
        <p>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" meta:resourcekey="ValidationSummary1Resource1" ValidationGroup="A" />
            &nbsp;</p>
    
    </div>
    </form>
</body>
</html>
